<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>优家购房系统 - 登录页面</title>
	<link rel="stylesheet" href="css/index.css">
	<script type="text/javascript" src="./js/jquery-1.8.3.min.js" ></script>
	<script type="text/javascript">
		/* $(function(){
			//获得用户名参数
			$("#sbt").click(function(){
				var unvalue = $("#username").val();
				var pwdvalue = $("#password").val();
				$.ajax({
					type:"post",
					url:"LoginServlet",
					data:"method=login&username="+unvalue+"&password="+pwdvalue,
					dataType:"json",
					success:function(msg){
							alert(msg);
					}
				});
			});
		}); */
	</script>
</head>
<body>
<div class="login">
	<img src="image/logo.png" alt="智游">
	<p>优家购房系统</p>
	<form action="admin.jsp">
	<div>
		<input type="text" id="username" name="username" value="" placeholder="请输入用户名">
	</div>
	<div>
		<input type="password" id="passwod" name="password" value="" placeholder="请输入密码">
	</div>
	<div>
		<p class="error-message">可能出现的错误信息</p>
		<input type="submit" value="登录" id="sbt">
	</div>
	</form>
</div>
<!-- <script>
	if (window.top !== window) {
		window.top.location.reload();
	}
</script> -->
</body>
</html>